using System;
using System.Collections.Generic;
using System.Text;

namespace NETL.Engine.Console
{
	public class Program
	{
		static void Main(string[] args)
		{
			Server srv = new Server();
			srv.Init();
			srv.Start();

			System.Console.WriteLine("*********************************");
			System.Console.WriteLine("* NETL Engine running           *");
			System.Console.WriteLine("*********************************");
			System.Console.WriteLine("*********************************");
			System.Console.WriteLine("* Type EXIT to quit             *");
			System.Console.WriteLine("*********************************");

			while (System.Console.ReadLine().ToUpper().Trim() != "EXIT")
			{
				
			}

			srv.Stop();
		}
	}
}
